package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author SuperSong
 * @version 1.0.0
 * @ClassName gulimall.com.atguigu.gulimall.ware.feign.ProductFeignService.java
 * @Description TODO
 * @createTime 2021年07月12日 19:54:00
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @RequestMapping("/info/{skuId}")
    //@RequiresPermissions("product:skuinfo:info")
    public R info(@PathVariable("skuId") Long skuId);
}
